The following dataset is prepared for the paper titled 'Fear-Anger Contests: Governmental and Populist Politics of Emotion'.

The data gathering and cleaning processes are explained in detail in the Supplementary Information document present in this dataverse.

This dataset contains the Tweet IDs of approximately 10.6 million tweets related to the 2016 Brexit Referendum in the UK (~0.87 million tweets) and 2016 United States presidential election of Donald Trump (~9.8 million tweets). They were collected between Jan 1, 2015 and Dec 31, 2020 from the Twitter API for Researchers.

These Tweet IDs are presented into 11 collections. Each collection was collected from the GET statuses/user_timeline method of the Twitter REST API, following Twitter's Terms and Conditions. The collections are:

Brexit Leave Political Actors: brexit_leave_pol_ids.txt
Brexit Remain Political Actors: brexit_remain_pol_ids.txt
Brexit News Media: brexit_media_ids.txt
Brexit Society: brexit_soc_ids.txt
US Democratic Political Actors: us_dem_pol_ids.txt
US Republican Political Actors: us_rep_pol_ids.txt
US News Media: us_media_ids.txt
US Society (Elections): us_public_ele_ids.txt
US Society (Biden): us_public_biden_ids.txt
US Society (Clinton): us_public_clinton_ids.txt
US Society (Trump): us_public_trump_ids.txt
A README.txt file is also provided.

The GET statuses/lookup method allows retrieving the complete Tweet (as well as full metadata: date, text, number of likes, retweets, etc.) for a Tweet ID. When retrieving information be aware that:

Twitter may limit such a data retrieval. Please consult Twitter documentation.
The Twitter API will not return tweets that have been deleted or belong to accounts that have been suspended, deleted, or made private. Therefore, several tweets may be unavailable.
According to Twitter's documentation, duplicate tweets may appear when using filter streaming tools. Our dataset does not, however, contain duplicates.
Following Twitter’s Developer Policy, Tweet IDs may be publicly shared; tweets' text and other information may not.
Questions about this dataset can be sent to the authors.